package Advance;

public class Simulator
{
    public void playsound(Animal animal)
    {
        System.out.println("这是"+animal.getanimalname()+"的声音");
        animal.cry();
    }

}
